package com.shungen.apicloud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shungen.apicloud.model.entity.PointTransaction;
import com.shungen.apicloud.model.vo.PointTransactionVO;

/**
 * 积分变动记录服务
 *
 */
public interface PointTransactionService extends IService<PointTransaction> {


    /**
     * 根据用户id查询积分变动记录数据
     * @param userId
     * @param  current 当前页码
     * @param  pageSize 每页的数量
     * @return
     */
    Page<PointTransaction> getPageDataByUserId(Long userId,Integer current,Integer pageSize);
}
